version="unknown version"
python=@PYTHON@

clean:
	@rm -rf html

html: help/* ../tools/builddoc.py ../templates/*
	@echo Building HTML docs
	@$(MAKE) clean
	mkdir -p html
	$(python) ../tools/builddoc.py help html ../templates $(version) || rm -rf html

build: html
